<table width="750" class="listing_header">
  <tr>
    <td class="regular_subject" width="100">
      Ac. value
    </td>
    <td class="regular_subject" width="100">
      Current value
    </td>
    <td class="regular_subject" width="150">
      Profit
    </td>
    <td class="regular_subject" width="400">

    </td>
  </tr>
</table>


<div id="sell_summary">
  <table width="750">
    <tr>
      <td width="100">
${currentSumInvested+pastSumInvested}kr
      </td>
      <td width="100">
${currentSumValue+pastSumSale}kr
      </td>
      <td width="150">
<% if (currentSumInvested+pastSumInvested != 0) { %>
  ${currentSumProfit+pastSumProfit}kr
        / ${Math.round(((currentSumValue+pastSumSale)/(currentSumInvested+pastSumInvested)-1)*100)}%
  <% } else { %>
        0kr / 0%
  <% } %>
      </td>
      <td width="400">

      </td>
    </tr>
  </table>
</div>